.\" Man page generated from reStructuredText.
.
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.TH "FTOHEX" 1 "2022-09-29" "2.20.14.1" "SlackBuilds.org"
.SH NAME
ftohex \- convert dasm output files to intel hex format
.\" RST source for ftohex(1) man page. Convert with:
.
.\" rst2man.py ftohex.rst > ftohex.1
.
.\" rst2man.py comes from the SBo development/docutils package.
.
.SH SYNOPSIS
.sp
ftohex \fIformat\fP \fIinfile\fP [\fIoutfile\fP]
.SH DESCRIPTION
.sp
\fBftohex\fP converts a binary file produced by \fBdasm\fP(1) to an Intel
\&.HEX file, which may be useful as input to an EPROM programmer.
.sp
\fIformat\fP is required, and must match the \fB\-f\fP option given to
\fBdasm\fP to produce the file. Format \fI3\fP is a raw binary image, which
need not have been produced by \fBdasm\fP\&. Format \fI1\fP is \fBdasm\fP\(aqs default,
if no \fB\-f\fP was given.
.sp
\fIinfile\fP is required; there\(aqs no option to read from \fBstdin\fP, but you
might try \fB/dev/stdin\fP if that\(aqs supported on your OS.
.sp
If \fIoutfile\fP is given, .HEX output will be written to it. Otherwise, the output
is written to \fBstdout\fP\&.
.SH EXAMPLE
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
dasm example.asm \-f2 \-oexample.out
ftohex 2 example.out example.hex
.ft P
.fi
.UNINDENT
.UNINDENT
.SH COPYRIGHT
.sp
See the file /usr/doc/dasm\-2.20.14.1/LICENSE for license information.
.SH AUTHORS
.sp
\fBftohex\fP is written and maintained by the DASM team and its contributors.
.sp
This man page written for the SlackBuilds.org project
by B. Watson, and is licensed under the WTFPL.
.SH SEE ALSO
.sp
\fBdasm\fP(1)
.\" Generated by docutils manpage writer.
.
